﻿@{
    ViewBag.Title = "数据库管理";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
    <input id="F_ParentId" type="hidden" />
    <div class="col-xs-6 lr-form-item">
        <div class="lr-form-item-title">名称<font face="宋体">*</font></div>
        <input id="F_DBName" type="text" class="form-control" placeholder="请输入名称" isvalid="yes" checkexpession="NotNull" />
    </div>
    <div class="col-xs-6 lr-form-item">
        <div class="lr-form-item-title">别名<font face="宋体">*</font></div>
        <input id="F_DBAlias" type="text" class="form-control" placeholder="请输入别名" isvalid="yes" checkexpession="NotNull" />
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">库类型<font face="宋体">*</font></div>
        <div id="F_DbType" isvalid="yes" checkexpession="NotNull"></div>
    </div>
    <div class="col-xs-12 lr-form-item lr-form-btnitem">
        <div class="lr-form-item-title">连接串</div>
        <input id="F_DbConnection" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
        <a id="lr_test" class="btn btn-default lr-form-item-btn">测试连接</a>
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">描述</div>
        <textarea id="F_Description" type="text" class="form-control" style="height:110px;"></textarea>
    </div>
</div>
@Html.AppendJsFile("/Areas/LR_SystemModule/Views/DatabaseLink/Form.js")